// components/EmptyData/emptyData.js
const app = getApp(),
  {
    $resHost
  } = app.globalData;
Component({
  properties: {
    imgPath: {
      type: String,
      value: `${$resHost}/img/miniprogram/empty/empty_data.png`
    },
    tipTitle: {
      type: String,
      value: ''
    },
    tipTitleColor: {
      type: String,
      value: ''
    },
    tipInfo: {
      type: String,
      value: ''
    }
  },
  data: {
    img: `${$resHost}/img/miniprogram/empty/empty_data.png`
  },
  methods: {
    fetchDataTap() {
      this.triggerEvent('fetchData', {});
    }
  }
});